package com.hvgroup.modules.sanic.repository;

import com.hvgroup.modules.sanic.domain.po.LlmApp;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Optional;

public interface LlmAppRepository extends JpaRepository<LlmApp, Long>, JpaSpecificationExecutor<LlmApp> {

    Optional<LlmApp> findFirstByAppId(String appId);

    List<LlmApp> findAllByIsCommQa(Boolean isCommQa);

}
